package com.rd.student.jike.class4.xiayinyin.week04.day28;

public abstract class Drink {

    //价格
    private double price;

    //描述
    private String desc;

    //花费
    public abstract double cost();

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
